package cn.hp.cms.servlet.user;

import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import java.io.IOException;

// 跳转到web-inf下的页面
@WebServlet("/user/list.do")
public class UserListPageServlet extends HttpServlet {

    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        req.getRequestDispatcher("/WEB-INF/user/list.html").forward(req,res);
    }
}
